net/http.Protocols.bits (field)
6 uses
net/http (current package)
http.go#L31: bits uint8
http.go#L41: func (p Protocols) HTTP1() bool { return p.bits&protoHTTP1 != 0 }
http.go#L47: func (p Protocols) HTTP2() bool { return p.bits&protoHTTP2 != 0 }
http.go#L53: func (p Protocols) UnencryptedHTTP2() bool { return p.bits&protoUnencryptedHTTP2 != 0 }
http.go#L60: p.bits |= bit
http.go#L62: p.bits &^= bit
 |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |